//This trigger is to call the Webservice for insert and update into Account
trigger HF_AccountSync on Account (after Insert, after Update) {
Set<Id> AccId = new Set<ID>();

    for(account a:Trigger.new){
        AccId.add(a.Id);
    }
        system.debug('**********'+AccId);
    If(AccId != null && AccId.size()>0)
    if(trigger.isInsert){
       HF_ClientWSAccount.AddAccount(AccId);
       }
       if(trigger.isUpdate){
       
        HF_ClientWSAccount.UpdateAccount(AccId);
        }
        }